const
      Layer= resolve => require(['../components/Layer'], resolve),
      Home= resolve => require(['../views/Home'], resolve),
      Test= resolve => require(['../views/Test'], resolve),
      nouse=null;
      const routes=[
        {
          path: '/',
          name:'Layer',
          component: Layer,
          children:[
            {path:'/',component:Home,name:'home'},
            {path:'/test',component:Test,name:'home'},
          ]
        }
      ]
export default routes
